﻿using NUnit.Framework;

namespace cryptv2.tests
{
  [TestFixture]
  public class TestDecrypt
  {
    [Test]
    public void mit_gleichem_Password()
    {
      var filenameToDecrypt = @"FilesToDecrypt\File1.txt.dnpcrypt";
      var decryptedFilename = @"Temp\File1.txt.actual";

      Decrypt.File(filenameToDecrypt, decryptedFilename, "Password");

      var expectedFilename = @"FilesToDecrypt.Expected\File1.txt";
      FileAssert.AreEqual(decryptedFilename, expectedFilename);
    }
  }
}
